﻿<UserControl x:Class="SLPropertyGrid.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:basic="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
	xmlns:sysctl="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
	xmlns:slg="clr-namespace:SLPropertyGrid" >
	<Grid x:Name="LayoutRoot" Background="White">

		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="200" MinWidth="100"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>

		<Grid.RowDefinitions>
			<RowDefinition/>
		</Grid.RowDefinitions>

		<Grid Grid.Column="0">
			<Button x:Name="test" Content="Test"/>
		</Grid>

		<sysctl:GridSplitter Grid.Column="1"
				IsTabStop="False"
				HorizontalAlignment="Left"
				VerticalAlignment="Stretch"
				Background="AliceBlue"
				ShowsPreview="False"
				Width="2"/>
		
		<slg:PropertyGrid Grid.Column="2" x:Name="propertyGrid" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/>

	</Grid>
</UserControl>
